package com.example.orderassembly.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.entity.ScoreOrder;
import com.woniuxy.form.GetOrder;
import com.woniuxy.form.InsertScoreOrder;

import java.util.List;

/**
 * <p>
 * 积分订单表 服务类
 * </p>
 *
 * @author yang
 * @since 2021-09-21
 */
public interface IScoreOrderService extends IService<ScoreOrder> {

    IPage<ScoreOrder> getScoreOrderByUserId(GetOrder getOrder);

    Boolean insertScoreOrder(InsertScoreOrder insertScoreOrder);

    Boolean updateScoreOrderStatus(Integer scoreGoodId, Integer status);
}
